package com.redis.config;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * 配置MybatisPlus
 *
 */
@Component
@MapperScan({"com.redis.mapper"})
@EnableTransactionManagement //事务注解
public class MybatisPlusConfig {

}
